package com.example.customannotation.customAnnotaition;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA 2023.
 * Description:
 * User: homechen
 * Date: 2024-04-24
 * Time: 20:00
 */
@RestController
public class MyController {
    @CustomLogAnnotation(value = "This is test method!", enable = true)
    @RequestMapping("/test")
    public String test() {
        return "Hello World!";
    }
}
